<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%--------------------------------------------------------------------------------------------------------------------
      快递员管理
      author:wang
      createDate:2015-10-21
 ----------------------------------------------------------------------------------------------------------------------%>
<!DOCTYPE html>
<html>
<head>
 
    <%@include file="../common/common.inc" %>
    <title>快小递后台管理</title>
    <link href="${basePath}/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="${basePath}/css/plugins/bootgrid/jquery.bootgrid.css" rel="stylesheet">
</head>

<body class="gray-bg">
    <div class="wrapper wrapper-content  animated fadeInRight">
         <%----------------------------------------------------------  功能扩展区  begin------------------------------------------------------------- --%>
                  <div class="row">
				            <div class="col-sm-12" >
				                <div class="ibox float-e-margins" style="height: 200px;">
								
				                    <div class="ibox-title">
				                        <h5>筛选条件<small>&nbsp;</small></h5>
				                        <div class="ibox-tools">
				                            <a class="collapse-link">
				                                <i class="fa fa-chevron-up"></i>
				                            </a>
				                        </div>
				                    </div>
				                    <div class="ibox-content" style="height:160px;" >
				                    		<span class="col-sm-2">
												  <select class="form-control m-b "  id="auditStatusList">
														<option value="100">==选择审核状态==</option>
														<option value="0">未审核</option>
														<option value="3">已审核</option>
														<option value="1">已审核通过</option>
														<option value="2">已审核未通过</option>
				                                </select>
				                            </span>
				                    		<span class="col-sm-2"><input type="text" class="form-control"  id="courID" placeholder="用户ID"></span>
				                    		<span class="col-sm-2"><input type="text" class="form-control"  id="courTel" placeholder="快递员手机号"></span>
				                    		<span class="col-sm-2"><input type="text" class="form-control"  id="courName" placeholder="快递员姓名"></span>
											<span class="col-sm-2"><input type="text" class="form-control"  id="courNickName" placeholder="快递员昵称"></span>
											<span class="col-sm-2">
												  <select class="form-control m-b "  id="courierCompany"></select>
				                            </span>
											<span class="col-sm-2">
												  <select class="form-control m-b "  id="referrerList">
														<option value="100">==选择推荐类别==</option>
														<option value="1">快递员推荐</option>
														<option value="2">内部推荐</option>
														<option value="3">内部测试</option>
														<option value="0">无推荐人</option>
				                                </select>
				                            </span>
				                            <span class="col-sm-2">
												  <select class="form-control m-b "  id="isAccept">
														<option value="">==选择接单状态==</option>
														<option value="1">是</option>
														<option value="0">否</option>
				                                </select>
				                            </span>
											<span class="col-sm-2"><input type="text" class="form-control"  id="referrer" placeholder="推荐人"></span>
											<span class="col-sm-2">
												<div class="input-group date">
													<span class="input-group-addon">
														<i class="fa fa-calendar"></i>
													</span>
													<input class="form-control" type="text" value=""  id="auditTime" placeholder="审核时间">
												</div>
											</span>
											<span class="col-sm-2"><input type="text" class="form-control"  id="remark" placeholder="备注"></span>
											<span class="col-sm-2">
												<div class="input-group date">
													<span class="input-group-addon">
														<i class="fa fa-calendar"></i>
													</span>
													<input class="form-control" type="text" value=""  id="registerTime" placeholder="申请时间">
												</div>
											</span>
											
					                    	 <span class="col-sm-1" style="clear:both">
											    <input type="button" style="overflow:left" class="btn btn-primary"  onclick="showCourierApplyList();" value="查询">
											 </span>
											 <span class="col-sm-1">
											    <input type="button" style="overflow:left" class="btn btn-primary"  onclick="exportDatas();" value="导出数据">
											 </span>
									
				                    </div>
				                    
				                </div>
				            </div>
		</div>
       <%----------------------------------------------------------  功能扩展区  end------------------------------------------------------------- --%>
    
       <%----------------------------------------------------------  列表  begin------------------------------------------------------------- --%>
            <div class="row">
                <div class="col-sm-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>用户列表</h5>
                            <div class="ibox-tools" >
                           	 	<a>
                                    <i class="fa fa-gear" style="color: #337ab7;font-size: 18px;" onclick="showSetupWin();">&nbsp;设置</i>
                                </a>
                                <a>
                                	<i class="fa fa-weixin" style="color: #337ab7;font-size: 18px;" onclick="showWechatMsgWin();">&nbsp;发送消息</i>
                                </a>
                                <a>
                                	<i class="fa fa-weixin" style="color: #337ab7;font-size: 18px;" onclick="showWechatPicMsgWin();">&nbsp;发送图文消息</i>
                                </a>
                                <a>
                                	<i class="fa fa-chain" style="color: #337ab7;font-size: 18px;" onclick="window.location.href='page?p=page/wxMsgContent'">&nbsp;消息列表</i>
                                </a>
                                <a>
                                	<i class="fa fa-chain" style="color: #337ab7;font-size: 18px;" onclick="window.location.href='page?p=page/materialManage'">&nbsp;素材管理</i>
                                </a>
                               <a class="collapse-link">
                                    <i class="fa fa-chevron-up"></i>
                                </a>
                            </div>
                        </div>
                        <div class="ibox-content">
				              <table id="dataList" class="table table-condensed table-hover table-striped" style="box-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);">
				                    <thead>
				                        <tr class="header">
				                            <th data-column-id="id"  data-identifier="true" data-type="numeric">用户ID</th>
				                            <th data-column-id="realName" >姓名</th>
				                            <th data-column-id="telephone" >手机号</th>
				                            <th data-column-id="company" >公司</th>
				                            <th data-column-id="tjType"  data-formatter="tjType">推荐类别</th>
				                            <th data-column-id="tjrName" >推荐人</th>
				                            <th data-column-id="rollStatus"  data-formatter="rollStatus">是否拉黑</th>
				                            <th data-column-id="isAccept"  data-formatter="isAccept">接单状态</th>
				                            <th data-column-id="status"  data-formatter="status">审核</th>
				                            <th data-column-id="checkCourierTime"  data-formatter="checkCourierTime">审核时间</th>
				                            <th data-column-id="applyTime"  data-formatter="applyTime">申请时间</th>
				                            <th data-column-id="hotline"  data-formatter="hotline">片区</th>
				                            <th data-column-id="type"  data-formatter="type">所属站点</th>
				                            <th data-column-id="site_number"  data-formatter="site_number">类别</th>
				                            <th data-column-id="remark"  data-formatter="remark">备注</th>
				                            
				                            
				                        </tr>
				                    </thead>
				                </table>
                        </div>
                    </div>
                </div>
            </div>
        <%----------------------------------------------------------  列表  end------------------------------------------------------------- --%>
        
    </div>
    

</body>

</html>

<%-- 表格内容详情 --%>
<%@include file="../common/colPop.jsp" %>
<%-- 设置 --%>
<%@include file="courierManage/setup.jsp"%>
<%@include file="courierManage/myModal.jsp"%>
<%-- 发送文字消息窗口 --%>
<%@include file="commendAgent/sendWechatPop.jsp" %>
<%-- 发送图文消息窗口 --%>
<%@include file="commendAgent/sendWechatPicPop.jsp" %>
<%-- 编辑分组窗口 --%>
<%@include file="courierManage/editUserGroupPop.jsp" %>

 <%--  js 开始--%>   
    <!-- 全局js -->
    <script src="${basePath}/js/bootstrap.mind797.js"></script>
    <!-- Peity -->
    <script src="${basePath}/js/plugins/peity/jquery.peity.min.js"></script>
    <!-- 自定义js -->
    <script src="${basePath}/js/content.mine209.js"></script>
    <script src="${basePath}/js/page/courierManage.js"></script>
    
    <!-- Page-Level Scripts -->
 <%--  js 结束 --%>   